﻿namespace Syngine.Components
{
	public interface IPlayable
	{
		/// <summary>
		/// The current state of the animation.
		/// </summary>
		PlayableState State { get; }

		/// <summary>
		/// Plays the animation from its current state.
		/// </summary>
		void Play();

		/// <summary>
		/// Stops the animation.
		/// </summary>
		void Stop();

		/// <summary>
		/// Pauses the animation.
		/// </summary>
		void Pause();
	}
}
